-- GENERATED SPELL FOR [Risen Hungerer] --


function spell0_16301(pUnit, Event) --@Blood Leech,Heal--
pUnit:FullCastSpellOnTarget(6958,pUnit)
pUnit:RegisterEvent('Sorts_16301', 605, 1)
end

function Sorts_16301(pUnit, Event)
local choix_sorts_16301 = math.random(0, 0)
if choix_sorts_16301 == 0 then
pUnit:RegisterEvent('spell0_16301', 1, 1)
end
end

function mob16301_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_16301', math.random(1500, 3000), 1)
end

function mob16301_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16301_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16301_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(16301, 1, 'mob16301_Action')
RegisterUnitEvent(16301, 2, 'mob16301_Leave')
RegisterUnitEvent(16301, 3, 'mob16301_Kill')
RegisterUnitEvent(16301, 4, 'mob16301_Die')
